@echo off
if "%JAVA_HOME%"=="" goto error
setlocal
set CLASSPATH=%CLASSPATH%;%CD%\bin
"%JAVA_HOME%\bin\java.exe" -classpath "%CLASSPATH%" org.dyndns.opendemogroup.optimizer.ConsoleRunner %1 %2 %3 %4 %5 %6 %7 %8 %9
goto fin

:error
echo.
echo ERROR:  The environment variable JAVA_HOME is not set!  It must point to JDK 1.5
echo.

:fin
endlocal
